<template>
  <div>
    <div class="header">
      <router-link to="/">
        <div class="header-back iconfont">&#xe675;</div>
      </router-link>
      <span>城市选择</span>
    </div>
  </div>
</template>
<script>
  export default {
    name: "CityHeader"
  }
</script>

<style lang="scss" scoped>
  @import "~styles/variables.scss";
  .header {
    position: relative;
    height: .86rem;
    line-height: .86rem;
    text-align: center;
    font-size: .32rem;
    color: #FFF;
    background-color: $bgColor;
    .header-back {
      width: .64rem;
      font-size: .4rem;
      position: absolute;
      color: #FFF;
      top: 0;
      left: 0;
    }
  }

</style>